package com.test.qpbgboot.base.constants;

public class RabbitMQConstants {

    public static final String ORDER_WAITING_PAY_QUEUE = "order_waiting_pay_queue";

    public static final String ORDER_WAITING_PAY_ROUTING_KEY = "order_waiting_pay_routing_key";

    public static final String ORDER_WAITING_PAY_EXCHANGE = "order_waiting_pay_exchange";

    public static final Integer WAITING_PAY_TTL = 5 * 60 * 1000;//过期时间5分钟

    public static final String ORDER_WAITING_PAY_DEAD_QUEUE = "order_waiting_pay_dead_queue";

    public static final String ORDER_WAITING_PAY_DEAD_ROUTING_KEY = "order_waiting_pay_dead_routing_key";

    public static final String ORDER_WAITING_PAY_DEAD_EXCHANGE = "order_waiting_pay_dead_exchange";

    public static final boolean DURABLE = true;
}
